package com.company.v07;

import com.company.IProductService;
import com.company.IUserService;

public class Client {
    public static void main(String[] args) {
//        IUserService service = (IUserService) Stub.getStub(IUserService.class);
//        System.out.println(service.findBYId(123));
        IProductService service = (IProductService) Stub.getStub(IProductService.class);
        System.out.println(service.findProductById(321));
    }
}
